<?php

/* @var $this yii\web\View */

$this->title = '首页';
?>
<div class="site-index">
    <div class="queue">
        <div class="title">
            今日排队情况
        </div>
        <div class="queuemain">
            <div>当前队列人数：<span id="currentQueueNumber"><?php echo (empty($currentQueueNumber) ? 0 : $currentQueueNumber)?></span>人</div>
            <div>今日排队人次：<span id="todayQueueNumber"><?php echo (empty($todayQueueNumber) ? 0 : $todayQueueNumber)?></span>人次</div>
            <div>今日叫号人次：<span id="todayCallNumber"><?php echo (empty($todayCallNumber) ? 0 : $todayCallNumber)?></span>人次</div>
            <div>今日过号人次：<span id="todayPassNumber"><?php echo (empty($todayPassNumber) ? 0 : $todayPassNumber)?></span>人次</div>
            <div>今日进场人次：<span id="todayInNumber"><?php echo (empty($todayInNumber) ? 0 : $todayInNumber)?></span>人次</div>
        </div>
    </div>
    <div class="call">
        <div class="title">
            手动叫号
        </div>
        <div class="callmain">
            <div class="callset">
                <input type="text" name="callTotal" id="callTotal" class="form-control" value="<?=$defaultNumber?>" />
            </div>
            <div class="callBtns">
                <a href="javascript:void(0);" class="btn btn-large btn-primary form-control" id="call">立即叫号</a>
            </div>
            <div id="showMsg"></div>
        </div>
    </div>
    <div class="clearfix"></div>
</div>
